package guyubao.com.entity.dto;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;


@Data
@NoArgsConstructor
@TableName("account")
@AllArgsConstructor
@Schema(description = "用户")
public class AccountDto implements Serializable {
    @Schema(description = "用户id")
    String id;
    @Schema(description = "账号")
    String username;
    @Schema(description = "密码")
    String password;
    @Schema(description = "邮箱")
    String email;
    @Schema(description = "角色:USER/ADMIN")
    String role;
    @Schema(description = "注册时间戳")
    Date registerTime;
    @Schema(description = "禁用时间")
    Date disabledTime;
}
